<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>User</title>
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Source+Code+Pro:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../assets/css/bootstrap.css">
<link rel="stylesheet" href="../assets/css/jquery.bonsai.css">
<link rel="stylesheet" href="../assets/css/main.css">
<link rel="stylesheet" href="../assets/icon-font/icons.css">
<script type="text/javascript" src="../assets/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="../assets/js/bootstrap.js"></script>
<script type="text/javascript" src="../assets/js/jquery.bonsai.js"></script>

  </head>
  <body>
    <div>

      <!-- Name Title -->

      <h1>User</h1>

      <!-- Type and Stereotype -->

      <section style="margin-top: .5em;">
        <span class="alert alert-info">
          <span class="node-icon staruml-icon icon-ERDEntity"></span>
          ERDEntity
        </span>
        
      </section>

      <!-- Path -->

      <section style="margin-top: 10px">
        
        
        
          
          <span class="label label-info"><a href='0fa3e26321c26558efa77ff144c36f21.html'><span class='node-icon staruml-icon icon-Project'></span>HappyBuy</a></span>
        
          <span>::</span>
          <span class="label label-info"><a href='4f29bc4e3e5d997d0910283efd084ee8.html'><span class='node-icon staruml-icon icon-ERDDataModel'></span>数据模型</a></span>
        
          <span>::</span>
          <span class="label label-info"><a href='a970ca5dd6bce2c02f43782e9eb85c86.html'><span class='node-icon staruml-icon icon-ERDEntity'></span>User</a></span>
        
      </section>

      <!-- Diagram -->

      

      <!-- Description -->

      
      <section>
        <h3>Description</h3>
        <div>
          
            <span class="label label-info">none</span>
          
        </div>
      </section>
      

      <!-- Specification -->

      

      <!-- Directed Relationship -->

      

      <!-- Undirected Relationship -->

      

      <!-- Classifier -->

      

      <!-- Interface -->

      

      <!-- Component -->

      

      <!-- Node -->

      

      <!-- Actor -->

      

      <!-- Use Case -->

      

      <!-- Template Parameters -->

      

      <!-- Literals -->

      

      <!-- Attributes -->

      

      <!-- Operations -->

      

      <!-- Receptions -->

      

      <!-- Extension Points -->

      

      <!-- Parameters -->

      

      <!-- Diagrams -->

      
      

      <!-- Behavior -->

      

      <!-- Action -->

      

      <!-- Interaction -->

      

      <!-- CombinedFragment -->

      

      <!-- Activity -->

      

      <!-- State Machine -->

      

      <!-- State Machine -->

      

      <!-- State -->

      

      <!-- Vertex -->

      

      <!-- Transition -->

      

      <!-- Data Model (ERD) -->

      

      <!-- Columns (ERD) -->

      
      <section>
        <h3>Columns</h3>
        
        <table class="table table-striped table-bordered">
          <tr>
            <th width="20%">Name</th>
            <th width="20%">Type</th>
            <th width="10%">Primary Key</th>
            <th width="10%">Foreign Key</th>
            <th width="20%">Reference To</th>
            <th width="10%">Nullable</th>
            <th width="10%">Unique</th>
          </tr>
          
          <tr>
            <td><a href="74c81d27119e2c1955281a621f1a46f1.html">id</a></td>
            <td>INTEGER</td>
            <td><span class='label label-info'>true</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="acca9e668098d8404e63bda2202ab5c8.html">username</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="0328d61c312c38366efc80a233b025ff.html">nickname</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="0ca040e9eee6c6f68f76789976b126b3.html">password</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="1f5cb4667c91c32179c23f8e2c927f96.html">gender</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="cc7630398ae6534c5313fbea967d2c65.html">birthday</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="4987018a96814f78a6dc3b6d8c990a69.html">location</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="fb49a9b6c5467e29f6a269ad66e3cd45.html">image</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
          <tr>
            <td><a href="89c2bd52a803ab048dc6a5b86e51f8dc.html">permission</a></td>
            <td>TEXT</td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
            <td>
              
              <span class='label label-info'>null</span>
            </td>
            <td><span class='label label-info'>false</span></td>
            <td><span class='label label-info'>false</span></td>
          </tr>
          
        </table>                
      </section>
      

      <!-- Related Entities (ERD) -->

      
      <section>
        <h3>Related Entities</h3>
        
        <table class="table table-striped table-bordered">
          <tr>
            <th width="25%">Entity</th>
            <th width="25%">Cardinality</th>
            <th width="25%">Reference Name</th>
            <th width="25%">Relationship</th>
          </tr>
          
          
          <tr>
            <td><a href='9d80f1065cd21fedc00e1b5b702ad363.html'><span class='node-icon staruml-icon icon-ERDEntity'></span>AddressInfo</a></td>
            <td>0..*</td>
            <td></td>
            <td><a href='e8b0178a9a070681c410593e9d14dd74.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—AddressInfo)</a></td>
          </tr>
          
          
          <tr>
            <td><a href='950de02bc8231149758cfd6902217617.html'><span class='node-icon staruml-icon icon-ERDEntity'></span>Order</a></td>
            <td>0..*</td>
            <td></td>
            <td><a href='baa981bb5a612598c26f5476e47ecd72.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—Order)</a></td>
          </tr>
          
          
          <tr>
            <td><a href='de444429f63963021bea1a44a0c94a12.html'><span class='node-icon staruml-icon icon-ERDEntity'></span>Cart</a></td>
            <td>1</td>
            <td></td>
            <td><a href='98f1b03fc7c1942e37ec446d3a5d1f83.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>(User—Cart)</a></td>
          </tr>
          
          
          <tr>
            <td><a href='7f72f090530c3eaf203962fc4bd06ecf.html'><span class='node-icon staruml-icon icon-ERDEntity'></span>CartRecord</a></td>
            <td>0..*</td>
            <td></td>
            <td><a href='3dc3bfe16c440be9c8d141169f0b73c1.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—CartRecord)</a></td>
          </tr>
          
        </table>                
      </section>
      

      <!-- Data Flows (DFD) -->

      

      <!-- Flows (Flowchart) -->

      

      <!-- Properties -->

      <section>
        <h3>Properties</h3>
        
        <table class="table table-striped table-bordered">
    <tr>
        <th width="50%">Name</th>
        <th width="50%">Value</th>
    </tr>
    
    
    
    
    
    
    
    <tr>
        <td>name</td>
        <td>User</td>
    </tr>
    
    
    
    
    
    
    
    
    
    
    
</table>                

      </section>

      <!-- Tags -->

      

      <!-- Constraints, Dependencies, Dependants -->

      

      <!-- Relationships -->

      
      
<section class="element-list">
    <h3>Relationships</h3>
    <ul class="nav nav-list">
        
        <li><a href='e8b0178a9a070681c410593e9d14dd74.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—AddressInfo)</a></li>
        
        <li><a href='baa981bb5a612598c26f5476e47ecd72.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—Order)</a></li>
        
        <li><a href='98f1b03fc7c1942e37ec446d3a5d1f83.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>(User—Cart)</a></li>
        
        <li><a href='3dc3bfe16c440be9c8d141169f0b73c1.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—CartRecord)</a></li>
        
    </ul>
</section>



      <!-- Owned Elements -->

      
      
<section class="element-list">
    <h3>Owned Elements</h3>
    <ul class="nav nav-list">
        
        <li><a href='e8b0178a9a070681c410593e9d14dd74.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—AddressInfo)</a></li>
        
        <li><a href='baa981bb5a612598c26f5476e47ecd72.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—Order)</a></li>
        
        <li><a href='98f1b03fc7c1942e37ec446d3a5d1f83.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>(User—Cart)</a></li>
        
        <li><a href='3dc3bfe16c440be9c8d141169f0b73c1.html'><span class='node-icon staruml-icon icon-ERDRelationship'></span>user_id (User—CartRecord)</a></li>
        
    </ul>
</section>



    </div>
  </body>
</html>
